package cn.cp.baseframe.mapper;

import cn.cp.baseframe.model.domain.UserDO;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author chenchaoqi
 * @since 2022-03-13
 */
public interface UserMapper {

    List<UserDO> query();

    List<UserDO> page(Integer startIndex,Integer pageSize);

    Integer insert(UserDO userDO);

    Integer update(UserDO userDO);

    Integer delete(Integer id);
}
